<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8" />
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
        <link rel="manifest" href="./manifest.json" />
        <link rel="shortcut icon" href="./favicon.ico" />
        <script src="./libs/layui/layui.js"></script>
        <link rel="stylesheet" href="./libs/layui/css/layui.css" />
        <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/docsify@4.12.1/themes/vue.css" />
        <script>
            if (typeof navigator.serviceWorker !== 'undefined') {
                navigator.serviceWorker.register('sw.js');
            }
        </script>
        <style>
            ol > li {
                list-style-type: decimal;
            }

            ul > li {
                list-style-type: square;
            }
        </style>
        <title>Layui - 经典开源模块化前端 UI 框架</title>
    </head>
    <body>
        <div id="app">稍等片刻, 马上就好...</div>
        <script>
            window.$docsify = {
                // 自定义侧边栏
                loadSidebar: true,
                // 标题
                name: 'Layui 文档',
                // 格式化更新日期
                formatUpdated: '最后更新于{YYYY}年{MM}月{DD}日 {HH}:{mm}',
                // 主题色
                themeColor: '#009688',
                // 开源地址
                repo: 'https://gitee.com/layui-exts',
                // 请求头
                requestHeaders: {
                    'cache-control': 'max-age=600',
                },
                // 页面跳转后自动回到顶部
                auto2top: true,
                // 根路径
                basePath: '',
                // 相对路径
                relativePath: true,
                // 全文检索
                search: {
                    maxAge: 60,
                    placeholder: '搜索你感兴趣的内容',
                    noData: '找不到结果',
                    // 搜索标题的最大层级, 1 - 6
                    depth: 6,
                    // 是否隐藏其他侧边栏内容
                    hideOtherSidebarContent: true,
                    // 避免搜索索引冲突
                    // 同一域下的多个网站之间
                    namespace: window.location.origin,
                },
                // 复制代码
                copyCode: {
                    buttonText: '复制到剪贴板',
                    errorText: '复制失败',
                    successText: '复制成功',
                },
                // 字数统计
                count: {
                    countable: true,
                    position: 'top',
                    margin: '10px',
                    float: 'right',
                    fontsize: '0.9em',
                    color: 'rgb(90,90,90)',
                    language: 'chinese',
                    localization: {
                        words: '',
                        minute: '',
                    },
                    isExpected: true,
                },
            };
        </script>
        <script src="https://cdn.jsdelivr.net/npm/docsify@4.12.1/lib/docsify.min.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/docsify@4.12.1/lib/plugins/search.min.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/docsify@4.12.1/lib/plugins/emoji.min.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/docsify@4.12.1/lib/plugins/zoom-image.min.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/docsify-copy-code@2.1.1/dist/docsify-copy-code.min.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/docsify-count@1.1.0/dist/countable.min.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/components/prism-javascript.min.js"></script>
        <script src="https://cdn.jsdelivr.net/npm/prismjs@1.24.1/components/prism-css.min.js"></script>
    </body>
</html>
